package com.opennews.openplatform.myspringbootcore.common.constant;

/**
 * IMPORTANT!!!
 * Role names must start with “ROLE_”. This is configurable in Spring Security.
 */
public class RoleType {
    public final static String ROLE_SYSTEM_ADMIN = "ROLE_SYSTEM_ADMIN";                     // Permission to perform any action in current system.
    public final static String ROLE_ACCOUNT_GROUP_ADMIN = "ROLE_ACCOUNT_GROUP_ADMIN";       // Permission to perform any action in particular account group only.
    public final static String ROLE_ACCOUNT_GROUP_USER = "ROLE_ACCOUNT_GROUP_USER";         // Normal user in an account group.
    public final static String ROLE_ACCOUNT_GROUP_VIEWER = "ROLE_ACCOUNT_GROUP_VIEWER";     // Readonly user in an account group.
}